package org.adream.account.model;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.adream.account.entity.RealNameAuthEntity;
import org.adream.account.entity.ResourceEntity;
import org.adream.account.entity.RoleEntity;
import org.adream.account.entity.UserVerifyEntity;

/**
 * userrest提供的用户信息
 * @author sl
 *
 */
public class UserInfoModel implements Serializable {
	
	private static final long serialVersionUID = -1814864433887706448L;

	private String uid;
	
	private String uname;
	
	private String phone;
	
	private String email;
	
	private String sex;
	
	private Date birthday;
	
	//是否实名
	private String verified;
	
	private String realName;
		
	private String headimgurl;
	
	private String unionid;
	
	//积分数
	private Integer integral;
	
	private List<RoleEntity> roles;
	
	private List<ResourceEntity> reses;
	
	//实名认证
	private RealNameAuthEntity realNameAuth;
	
	private List<UserVerifyEntity> verifies;

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public String getUname() {
		return uname;
	}

	public void setUname(String uname) {
		this.uname = uname;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getVerified() {
		return verified;
	}

	public void setVerified(String verified) {
		this.verified = verified;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getHeadimgurl() {
		return headimgurl;
	}

	public void setHeadimgurl(String headimgurl) {
		this.headimgurl = headimgurl;
	}
	
	public String getUnionid() {
		return unionid;
	}

	public void setUnionid(String unionid) {
		this.unionid = unionid;
	}

	public Integer getIntegral() {
		return integral;
	}

	public void setIntegral(Integer integral) {
		this.integral = integral;
	}

	public List<RoleEntity> getRoles() {
		return roles;
	}

	public void setRoles(List<RoleEntity> roles) {
		this.roles = roles;
	}

	public List<ResourceEntity> getReses() {
		return reses;
	}

	public void setReses(List<ResourceEntity> reses) {
		this.reses = reses;
	}

	public RealNameAuthEntity getRealNameAuth() {
		return realNameAuth;
	}

	public void setRealNameAuth(RealNameAuthEntity realNameAuth) {
		this.realNameAuth = realNameAuth;
	}

	public List<UserVerifyEntity> getVerifies() {
		return verifies;
	}

	public void setVerifies(List<UserVerifyEntity> verifies) {
		this.verifies = verifies;
	}
}